TMSScript class overview.
Properties
  
    | Name |     Description |   
  
    | 
 Connection      | 
    
Used to specify a connection object that will be used to connect to a data store. 
     | 
  
  
    | 
 DataSet      | 
    
Used to retrieve the results of the SELECT statements execution inside a script. 
     | 
  
  
    | 
 Debug (inherited from TDAScript)      | 
    
Used to display the script execution and all its parameter values. 
     | 
  
  
    | 
 Delimiter (inherited from TDAScript)      | 
    
Used to set the delimiter string that separates script statements. 
     | 
  
  
    | 
 EndLine (inherited from TDAScript)      | 
    
Used to get the current statement last line number in a script. 
     | 
  
  
    | 
 EndOffset (inherited from TDAScript)      | 
    
Used to get the offset in the last line of the current statement. 
     | 
  
  
    | 
 EndPos (inherited from TDAScript)      | 
    
Used to get the end position of the current statement. 
     | 
  
  
    | 
 Macros (inherited from TDAScript)      | 
    
Used to change SQL script text in design- or run-time easily. 
     | 
  
  
    | 
 SQL (inherited from TDAScript)      | 
    
Used to get or set script text. 
     | 
  
  
    | 
 StartLine (inherited from TDAScript)      | 
    
Used to get the current statement start line number in a script. 
     | 
  
  
    | 
 StartOffset (inherited from TDAScript)      | 
    
Used to get the offset in the first line of the current statement. 
     | 
  
  
    | 
 StartPos (inherited from TDAScript)      | 
    
Used to get the start position of the current statement in a script. 
     | 
  
  
    | 
 Statements (inherited from TDAScript)      | 
    
Contains a list of statements obtained from the SQL property. 
     | 
  
  
    | 
 UseOptimization      | 
    
Used to bind small queries in blocks for block executing. 
     | 
  
Methods
Events
  
    | Name |     Description |   
  
    | 
 AfterExecute (inherited from TDAScript)      | 
    
Occurs after a SQL script execution. 
     | 
  
  
    | 
 BeforeExecute (inherited from TDAScript)      | 
    
Occurs when taking a specific action before executing the current SQL statement is needed. 
     | 
  
  
    | 
 OnError (inherited from TDAScript)      | 
    
Occurs when SQL Server raises an error. 
     |